import request from '@/utils/api'


export function powerByRole (param) {
  return request({
    url: '/power/byRole',
    method: 'get',
    params: param
  })
}

export function modifyPower (data) {
  return request({
    url: '/power/modifyPower',
    method: 'post',
    data
  })
}
